#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int id = 0;
	float c = 0.0f;
	float math = 0.0f;
	float eng = 0.0f;
	scanf("%d;%f,%f,%f", &id, &c, &math, &eng);
	printf("%d,%.2f,%.2f,%.2f\n", id, c, math, eng);
	return 0;
}